// components/authorizeComponent/authorizeComponent.js
const app = getApp()
Component({
  /**
   * 组件的属性列表
   */
  properties: {
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    onGotUserInfo: function (e) {
      app.globalData.userInfo = e.detail.userInfo
      app.globalData.unAuthorized = false
      const data = {}
      const option = {}
      this.triggerEvent('authorizeFinished',data,option)
    }
  }
})
